Xbasic

SYS_ID_MAXIMIZE Function

Syntax

V SYS_ID_MAXIMIZE([C window_name])

Arguments

window_name

The name of the window as reported by SYS_ID_ENUM()or seen on the window's title bar.

Description

SYS_ID_MAXIMIZE() maximizes the window named Window_Name and brings it to the foreground.

Example

The following example assumes that Notepad is open and the name of the window (as seen on the title bar) is "Untitled - Notepad".

sys_id_show("Untitled - Notepad")
sys_id_maximize("Untitled - Notepad") -> maximizes the window
sys_id_restore("Untitled - Notepad") -> return the window to its prior state

Limitations

Desktop applications only.

See Also